package com.ruoyi.tplus.domain;

import cn.hutool.core.date.DateUtil;
import lombok.*;

import java.util.Date;
import java.util.List;

/**
 * 实体类:材料出库单
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ST_RDRecord extends BaseEntityHead {


    private String sourcevouchercode;//引用 单据号
//    private String department;//部门名称
    private Integer printtime = 0;//打印次数
    private Double amount;//总金额
    private int rdDirectionFlag = 0;//出入库方向
    private int isCostAccount = 0;//是否参于成本核算
    private int isMergedFlow = 0;//是否合并流程
    private int isAutoGenerate = 0;//是否自动生成
    private int busitypecode;//业务类型code
    private int iscarriedforwardout = 0 ;//是否已结转
    private int iscarriedforwardin = 0 ;//是否结转来的单据
    private int ismodifiedcode = 0 ;//是否手工修改单据编码
    private int accountingperiod = DateUtil.month(DateUtil.date()) + 1 ;//会计期间
    private int voucherPeriod = DateUtil.month(DateUtil.date()) ;//单据日期所在的期间
    private int accountingyear = DateUtil.year(DateUtil.date()) ;//会计年度
    private int VoucherYear = DateUtil.year(DateUtil.date()) ;//VoucherYear年度
    private int PrintCount = 0 ;//打印次数
    private int idbusitype  ;//业务类型（53领料、54退料 表：AA_BusiType）
    private int codebusitype  ;//业务类型code
    private int idrdstyle = 1;//出入库类别id
    private int accountState = 338;//出入库类别id
    private int voucherState = 181;//单据状态
    private int idvouchertype = 21;//单据类型id
    private int IsCostAccounted = 0;//成本分配状态

    List<ST_RDRecord_b> entity;




}
